package com.guc.aidlservice

import aidl.IAIDLService
import android.app.Service
import android.content.Intent
import android.os.IBinder

class AIDLService : Service() {

    override fun onBind(intent: Intent): IBinder {
        return object : IAIDLService.Stub() {
            override fun getString(): String {
                return "我是AIDL服务端返回的"
            }
        }
    }
}